<?php
/**
 * Created by 项目.
 * User: xuguopeng
 * Date: 6/3/21
 * Time: 3:19 PM
 */

namespace app\api\validate;


class CheckStoreUser extends BaseValidate
{
    protected $rule = [
        'name' => 'require|max:50',
        'phone' => 'require|mobile',
        'desc' => 'max:255',
        'store_id' => 'require|isPositiveInteger',
    ];

    protected $message = [
        'name' => '请输入姓名且长度不大于50',
        'phone' => '请输入正确的联系电话',
        'desc' => '简介长度不大于255',
        'store_id' => '请重新扫码进入'
    ];
}